package com.caiyouxi.pay.mapper;


import com.caiyouxi.pay.model.PaymentBean;
import com.caiyouxi.pay.model.PaymentConfigBean;
import com.caiyouxi.pay.model.PaymentLogBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by  on 2017/9/27.
 */
@Mapper
public interface PayMapper {

    public List<PaymentConfigBean> get_product_payment(PaymentConfigBean bean);

    public PaymentConfigBean get_product_payment_by_pay_id(int pay_id);

    public PaymentBean get_payment_by_provider(String provider);

    public void add_payment_log(PaymentLogBean bean);

}
